type DataRow = {
  id: string | number
  [key: string]: any
}

const list: DataRow[] = [
  {
    id: '001',
    name: '张三',
    date: '2022-01-01',
    gender: 0
  },
  {
    id: '002',
    name: '李四',
    date: '2022-12-31',
    gender: 1
  }
]

const dataList = [
  {
    url: '/api/table/list',
    method: 'post',
    response: () => {
      return {
        code: 0,
        data: {
          list: list,
          total: list.length
        }
      }
    }
  }
]

export default dataList
